package tlias.service;


import tlias.pojo.Emp;
import tlias.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PageBean page(Integer page, Integer pageSize,String name,Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    //新增员工
    void add(Emp emp);

    //查询回显
    Emp getById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);
}
